Page({
  data: {
    PageCur: 'home',
    type: 'color'
  },

  onReady: function () {
  },

  NavChange(e) {
    this.setData({
      PageCur: e.currentTarget.dataset.cur
    })
  },
  handleSettingChange(e) {
    const {type, cur} = e.detail
    this.setData({
      PageCur: cur,
      type
    })
  }
});
